#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Time          : 2023/3/16 16:35
# File          : optional_select.py
# @Author       : MingTai
# @Department   : platform_qa
from typing import Optional


# 在代码中声明静态类型则是为了减少人为错误而提供相应的类型或错误提示，但并不会影响Python的运行！
def test_optional(a: Optional[int] = 1, b: Optional[int] = 2):
    print(a + b)
    return a + b


if __name__ == '__main__':
    test_optional(22, 111)
